package com.housekeeping.housekeeping.usermanagement.service.impl;

import com.housekeeping.housekeeping.usermanagement.dao.impl.InsertDao;
import com.housekeeping.housekeeping.usermanagement.dao.impl.OperationDaoImpl;
import com.housekeeping.housekeeping.usermanagement.entity.InformationUser;
import com.housekeeping.housekeeping.usermanagement.service.AddService;

import java.sql.SQLException;

public class AddServiceImpl implements AddService {
    private OperationDaoImpl insertDao = new InsertDao();
    @Override
    public int addOperation(InformationUser information) throws SQLException {
        return insertDao.insert(information);
    }
}
